package com.tudouji.project.weigh.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 过磅记录接口对象 weight_data
 * 
 * @author tudouji
 * @date 2023-03-22
 */
public class WeightData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 磅单批次号 */
    @Excel(name = "磅单批次号")
    private String batch;

    /** 磅单号 */
    @Excel(name = "磅单号")
    private String code;

    /** 送货单位（种植户） */
    @Excel(name = "送货单位", readConverterExp = "种=植户")
    private String supplier;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carCode;

    /** 毛重 */
    @Excel(name = "毛重")
    private BigDecimal mWeight;

    /** 皮重 */
    @Excel(name = "皮重")
    private BigDecimal pWeight;

    /** 净重 */
    @Excel(name = "净重")
    private BigDecimal weight;

    /** 采收货运单id */
    @Excel(name = "采收货运单id")
    private Long orderId;

    /** 采收货运单code */
    @Excel(name = "采收货运单code")
    private String orderCode;

    private String xhfs;
    private BigDecimal hzl;
    private BigDecimal dzz;

    private String wzname;
    private String hzname;
    private String sby;
    private String modi;
    private String fhname;
    private String cx;
    private String shdq;
    private String pzsby;
    private String dj;
    private String je;
    private String jedx;
    private String zzz;
    private String dengji;
    private String dfhl;
    private String dundj;
    private String hyy;
    private String shougonghy;
    private String zjy;
    private String xhq;

    /** 皮重时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "皮重时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pTime;

    /** 毛重时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毛重时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date mTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getCarCode() {
        return carCode;
    }

    public void setCarCode(String carCode) {
        this.carCode = carCode;
    }

    public BigDecimal getmWeight() {
        return mWeight;
    }

    public void setmWeight(BigDecimal mWeight) {
        this.mWeight = mWeight;
    }

    public BigDecimal getpWeight() {
        return pWeight;
    }

    public void setpWeight(BigDecimal pWeight) {
        this.pWeight = pWeight;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getXhfs() {
        return xhfs;
    }

    public void setXhfs(String xhfs) {
        this.xhfs = xhfs;
    }

    public BigDecimal getHzl() {
        return hzl;
    }

    public void setHzl(BigDecimal hzl) {
        this.hzl = hzl;
    }

    public BigDecimal getDzz() {
        return dzz;
    }

    public void setDzz(BigDecimal dzz) {
        this.dzz = dzz;
    }

    public String getWzname() {
        return wzname;
    }

    public void setWzname(String wzname) {
        this.wzname = wzname;
    }

    public String getHzname() {
        return hzname;
    }

    public void setHzname(String hzname) {
        this.hzname = hzname;
    }

    public String getSby() {
        return sby;
    }

    public void setSby(String sby) {
        this.sby = sby;
    }

    public String getModi() {
        return modi;
    }

    public void setModi(String modi) {
        this.modi = modi;
    }

    public String getFhname() {
        return fhname;
    }

    public void setFhname(String fhname) {
        this.fhname = fhname;
    }

    public String getCx() {
        return cx;
    }

    public void setCx(String cx) {
        this.cx = cx;
    }

    public String getShdq() {
        return shdq;
    }

    public void setShdq(String shdq) {
        this.shdq = shdq;
    }

    public String getPzsby() {
        return pzsby;
    }

    public void setPzsby(String pzsby) {
        this.pzsby = pzsby;
    }

    public String getDj() {
        return dj;
    }

    public void setDj(String dj) {
        this.dj = dj;
    }

    public String getJe() {
        return je;
    }

    public void setJe(String je) {
        this.je = je;
    }

    public String getJedx() {
        return jedx;
    }

    public void setJedx(String jedx) {
        this.jedx = jedx;
    }

    public String getZzz() {
        return zzz;
    }

    public void setZzz(String zzz) {
        this.zzz = zzz;
    }

    public String getDengji() {
        return dengji;
    }

    public void setDengji(String dengji) {
        this.dengji = dengji;
    }

    public String getDfhl() {
        return dfhl;
    }

    public void setDfhl(String dfhl) {
        this.dfhl = dfhl;
    }

    public String getDundj() {
        return dundj;
    }

    public void setDundj(String dundj) {
        this.dundj = dundj;
    }

    public String getHyy() {
        return hyy;
    }

    public void setHyy(String hyy) {
        this.hyy = hyy;
    }

    public String getShougonghy() {
        return shougonghy;
    }

    public void setShougonghy(String shougonghy) {
        this.shougonghy = shougonghy;
    }

    public String getZjy() {
        return zjy;
    }

    public void setZjy(String zjy) {
        this.zjy = zjy;
    }

    public String getXhq() {
        return xhq;
    }

    public void setXhq(String xhq) {
        this.xhq = xhq;
    }

    public Date getpTime() {
        return pTime;
    }

    public void setpTime(Date pTime) {
        this.pTime = pTime;
    }

    public Date getmTime() {
        return mTime;
    }

    public void setmTime(Date mTime) {
        this.mTime = mTime;
    }

    @Override
    public String toString() {
        return "WeightData{" +
                "id=" + id +
                ", batch='" + batch + '\'' +
                ", code='" + code + '\'' +
                ", supplier='" + supplier + '\'' +
                ", carCode='" + carCode + '\'' +
                ", mWeight=" + mWeight +
                ", pWeight=" + pWeight +
                ", weight=" + weight +
                ", orderId=" + orderId +
                ", orderCode='" + orderCode + '\'' +
                ", xhfs='" + xhfs + '\'' +
                ", hzl=" + hzl +
                ", dzz=" + dzz +
                ", wzname='" + wzname + '\'' +
                ", hzname='" + hzname + '\'' +
                ", sby='" + sby + '\'' +
                ", modi='" + modi + '\'' +
                ", fhname='" + fhname + '\'' +
                ", cx='" + cx + '\'' +
                ", shdq='" + shdq + '\'' +
                ", pzsby='" + pzsby + '\'' +
                ", dj='" + dj + '\'' +
                ", je='" + je + '\'' +
                ", jedx='" + jedx + '\'' +
                ", zzz='" + zzz + '\'' +
                ", dengji='" + dengji + '\'' +
                ", dfhl='" + dfhl + '\'' +
                ", dundj='" + dundj + '\'' +
                ", hyy='" + hyy + '\'' +
                ", shougonghy='" + shougonghy + '\'' +
                ", zjy='" + zjy + '\'' +
                ", xhq='" + xhq + '\'' +
                ", pTime=" + pTime +
                ", mTime=" + mTime +
                '}';
    }
}
